#ifndef DWM_USER_H
#define DWM_USER_H 1

#include <string>



class User
{

public:

    //User(int, std::string&, std::string&, std::string&, std::string&, time_t&, bool&);
    User(int, std::string, std::string, std::string, std::string, time_t, bool);

    const int getId();
    void setId(const int&);

    const std::string& getUsername();
    void setUsername(const std::string&);

    const std::string& getPassword();
    void setPassword(const std::string&);

    const std::string& getFirstName();
    void setFirstName(const std::string&);

    const std::string& getLastName();
    void setLastName(const std::string&);

    const time_t& getJoined();
    void setJoined(const time_t&);

    const bool& getActive();
    void setActive(const bool& );

    std::string toString();

private:
    int m_id;
    std::string m_username;
    std::string m_password;
    std::string m_firstname;
    std::string m_lastname;
    time_t   m_joined;
    bool    m_active;

};



#endif
